import request from '/@/utils/request';
/**
 * 员工页面接口集合
 * @method signIn 用户登录
 */

//员工列表接口封装
export function userindexApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/user/index/index',
				method: 'post',
				data,
			});
		},
	};
}

//员工删除接口封装
export function userdelApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/user/index/del',
				method: 'post',
				data,
			});
		},
	};
}

//员工新增接口封装
export function useraddApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/user/index/add',
				method: 'post',
				data,
			});
		},
	};
}
